*{
    margin: 0;
    padding: 0;
}
/* 开始层 */

.startPage{
    width: 100%;
    z-index:999;
    height:577px;
    position:absolute;
    top: 0;
    left:0;
}
/* 开始按钮 */
.startBtn img{
    width:25px;
    height:20px;
    color: yellowgreen;
}
.startBtn{
    width: 200px;
    height: 60px;
    z-index: 998;
    background-color: #498b75;
    cursor: pointer;
    position: absolute;
    top: -150px;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    text-align:center;
    line-height: 60px;
    font-size: 24px;
    color:yellowgreen;
    border-radius: 5px;

}
.startBtn:hover{
    opacity: 0.8;

}
/* 游戏层 */
.wrapper{
    width: 100%;
    height: 577px;
    position: relative;
    background-image: url(../image/pexels-photo-1076813.jpeg);
}
/* 游戏左边区域 */
.left-side{
    width: 24%;
    position: absolute;
}
/* 开始，暂停按钮 */
.left-side span{
    width:100px;
    height: 100px;
    line-height: 100px;
    border-radius: 50%;
    margin-left: 100px;
    margin-top: 40px;
    text-align: center;
    color:yellowgreen;
    position: absolute;
    background-color: #498b75;
    display: none;
    cursor: pointer;
}
.left-side img{
    width: 20px;
    margin-top: 140px;
    margin-left: 171px;
    /* z-index: 1000; */
    position: absolute;
    display: none;
}
/* .left-side span .image{
    width:100%;
    height:100%;
} */
/* 游戏界面 */
.main{
    width: 50%;
    height: 90%;
    left: 25%;
    position: absolute;
}
/* 游戏界面顶部 */
.header{
    width: 100%;
    height: 80px;
    text-align: center;
    line-height: 80px;
}
.score{
    font-size: 20px;
    color: #999;
    font-weight: 400;
}
/* 游戏区域 */
.content{
    position: absolute;
    left: 20%;
    top: 25%;
    width: 519px;
    height: 360px;
    /* z-index: 997; */
    background-color: black;
    display:none;
}
/* 弹出层 */
.loser{
    display:none;
    height: 448.5px;
    position: absolute;
    left: 0;
    top: 0;
}
.con{
    position: absolute;
    /* z-index: 998; */
    background-color: #008c8c;
    height: 300px;
    width: 400px;
    left:65px;
    top: 30px;
    border-radius: 20px;
}
/* 弹出框说明 */
.con .goal{
    width: 400px;
    height: 50px;
    position: absolute;
    top: 10px;
    left: 0;
    text-align: center;
    line-height: 50px;
    color: #fff;
    font-size: 30px;
}
/* 游戏得分 */
.loserScore{
    display: block;
    height: 30px;
    width: 40px;
    position:absolute;
    top: 42%;
    left: 40%;
    color: #222;
    font-size: 30px;
    font-weight: 400;
}
.close{
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    width: 40px;
    background-color: #999;
    border-radius: 50px;
    margin: 5px;
    text-align: center;
    line-height: 40px;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
}
/* 食物 */
.food{
    background-color: #f40;
    border-radius: 50px;
}
/* 身体 */
.body{
    background-color: #ff0;
    border-radius: 50px;
}
/* 头 */
.head{
    background-color: #f0f;
    border-radius: 50px;
    
}
